package com.appkubes.mall.restful.application.system.ad.service.impl;

import com.appkubes.base.core.entity.vo.AppKeyVO;
import com.appkubes.mall.core.entity.MallAd;
import com.appkubes.mall.core.service.impl.BaseMallAdServiceImpl;
import com.appkubes.mall.restful.application.system.ad.service.AdService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AdServiceImpl extends BaseMallAdServiceImpl implements AdService {


    @Override
    public List<MallAd> queryAll(AppKeyVO appKeyVO) {
        MallAd queryEntity = new MallAd();
        queryEntity.setState(1);
        List<MallAd> list = this.selectListByEntity(queryEntity);
        return list;
    }
}
